package com.lengjing.project.service;

import com.lengjing.project.common.MsgReturn;
import com.lengjing.project.model.User;
import org.springframework.stereotype.Service;


/**
 * @Description : 用户业务层
 * @Author : ChenYao
 * @Version : 1.0
 * @Create : Date Time: 2018/6/23 11:10
 * @Update : Date Time: 2018/6/23 11:10
 * @see :
 */

public interface UserService {
    /**
     * @Description: 获取用户列表信息
     * @Author: ChenYao
     * @param: [page][count]
     * @return:
     * @throws:
     * @CreateDate: 2018/6/26 15:25
     * @see: Note:
     */

    public MsgReturn getUserList(int page, int count);

    /**
     * @Description: 根据账号密码查询用户信息,返回用户对象
     * @Author: ChenYao
     * @param: [user]
     * @returns: com.lengjing.project.model.User
     * @throws:
     * @CreateDate: 2018/6/26 15:32
     * @see: Note:
     */

    public User login(User user);

}
